home *** CD-ROM | disk | FTP | other *** search
/ La Bible Des... Jeux / La Bible des... Jeux.iso / Les Sharewares / Société & Divers / Xconq 7.0.1 / doc / getsyms.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-08-22  |  225 b   |  8 lines  |  [TEXT/MPS ]

  1. #!/bin/sh
  2.  
  3. # This script extracts GDL symbols defined in the input file.
  4.  
  5. grep '@deffn' $1 | grep '@code' | grep -v '@c ' | sed -e 's/^.*@deffn \([^ ]*\) @code{\([^{ }]*\)}.*$/\2 \1/' | sed -e 's/@@/@/' | sort | uniq
  6.  
  7. exit 0
  8.